home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1384 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.5 KB

  1. From: knarf@nasim.sta.sub.org (Frank Bartels)
  2. Subject: Re: Deleting owned files...
  3. Date: Wed, 11 May 1994 19:54:51 +0200 (MET DST)
  4. In-Reply-To: <9405110850.AA13633@issan.informatik.uni-dortmund.de> from "Andreas Schwab" at May 11, 94 10:50:19 am
  5. Mime-Version: 1.0
  6.  
  7. Andreas Schwab wrote:
  8. > Michael Smith <miff@apanix.apana.org.au> writes:
  9.  
  10. > |> I suspect this is also the reason why tar 1.11.2 (I rebuilt this with the
  11. > |> pl44 mintlibs if anyone is interested) can't set ownership/permissions
  12. > |> on files it extracts sometimes (that's annoying!).
  13. > No, this has nothing to do with it.  Only the superuser can change the
  14. > ownership of a file, and you can only change the mode if you own the
  15. > file (or you are effectively root).  I never had problems extracting a
  16. > tarfile if tar is running as root.  Unter SysV, everyone can give away
  17. > files, but that is too risky, and GNU tar will never do that as a
  18. > non-privileged process.
  19.  
  20. I've seen this, too:
  21.  
  22. lancelot# uname -a
  23. MiNT lancelot 1.10 4.4 atari
  24. [Note: Running MiNT 1.10 with nox' and Kay's patches, MinixFS 0.60 PL9]
  25. lancelot# whoami
  26. root
  27. lancelot# id
  28. uid=0(root) gid=0(wheel)
  29. lancelot# tar --version
  30. GNU tar version 1.11.2
  31. lancelot# tar tzvf uucp-1.03.tar.gz
  32. drwxrwxr-x 269/15            0 Apr  7 05:31 1992 uucp-1.03/
  33. -r--r--r-- 269/15        17976 Apr  7 05:05 1992 uucp-1.03/COPYING
  34. [...]
  35. [Note: The file COPYING is read-only]
  36. lancelot# tar xzvf uucp-1.03.tar.gz uucp-1.03/COPYING
  37. uucp-1.03/COPYING
  38. tar: Could not create file uucp-1.03/COPYING : path not found.
  39. lancelot# mkdir uucp-1.03
  40. lancelot# tar xzvf uucp-1.03.tar.gz uucp-1.03/COPYING
  41. uucp-1.03/COPYING
  42. tar: couldn't change access and modification times of uucp-1.03/COPYING:
  43.     access denied.
  44. lancelot# ll !$
  45. -r--r--r--   1 269      15          17976 May 11 19:46 uucp-1.03/COPYING
  46. lancelot# tar xzvf uucp-1.03.tar.gz uucp-1.03/COPYING
  47. uucp-1.03/COPYING
  48. tar: Could not create file uucp-1.03/COPYING : access denied.
  49. lancelot# ll !$
  50. -r--r--r--   1 269      15          17976 May 11 19:46 uucp-1.03/COPYING
  51.  
  52. nasim% uname -a
  53. SunOS nasim 4.1.1 3 sun3
  54. [Note: SunOS 4.1.1 is a BSD-4.3 type UNIX OS]
  55. nasim% whoami
  56. knarf
  57. nasim% tar --version
  58. GNU tar version 1.11.2
  59. nasim% # No mkdir needed
  60. nasim% tar xzvf /pub/atari/Uucp/uucp-1.03.tar.gz uucp-1.03/COPYING
  61. uucp-1.03/COPYING
  62. nasim% ll uucp-1.03/COPYING
  63. -r--r--r--  1 knarf    admin       17976 Apr  7  1992 uucp-1.03/COPYING
  64.  
  65. No further comment needed...
  66.  
  67. -- 
  68.     Frank Bartels       |      Fax/UUCP: + 49 89 5469593          | MiNT is
  69. knarf@nasim.sta.sub.org | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!
  70.